package com.dl.study.module.swagger;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
import org.springframework.core.annotation.Order;
import springfox.documentation.swagger.common.SwaggerPluginSupport;

/**
 * @Author: user
 * @Date: 2021/9/14 17:00
 * @Description:
 */
@Configuration
@Profile({"dev", "test" })
public class SwaggerApiModelEnumConfig {
    @Bean
    @Order(SwaggerPluginSupport.SWAGGER_PLUGIN_ORDER + 1)
    public SwaggerApiModelEnumPlugin swaggerEnum() {
        return new SwaggerApiModelEnumPlugin();
    }
}
